package com.ax.business.hemp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.hemp.domain.HempRegisteMast;

@Mapper
public interface HempRegisteMastMapper {
    int deleteByPrimaryKey(Long hempRegisteId);

    int insert(HempRegisteMast record);

    int insertSelective(HempRegisteMast record);

    HempRegisteMast selectByPrimaryKey(Long hempRegisteId);

    int updateByPrimaryKeySelective(HempRegisteMast record);

    int updateByPrimaryKey(HempRegisteMast record);
    
    /**
	 * 含麻查询(模块:含麻)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return List<HempRegisteMast>
	 */
    List<HempRegisteMast> queryHempMapper(Map<String,Object> map);
    
    /**
	 * 合计分页
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return Integer
	 */
    Integer count(Map<String,Object> map);
}